/*
 * Created by LiuYou on 2020/11/26.
 *
 */

#include "PcImpl.hpp"

PcImpl::PcImpl(int pcId, int lifeTime) : pcId(pcId), lifeTime(lifeTime) {}

PcImpl::PcImpl(int pcId, int lifeTime, const GraphicsCard& graphicsCard)
        : pcId(pcId), lifeTime(lifeTime), graphicsCard(graphicsCard) {}

int PcImpl::getPcId() const {
    return pcId;
}

int PcImpl::getLifeTime() const {
    return lifeTime;
}

const GraphicsCard& PcImpl::getGraphicsCard() const {
    return graphicsCard;
}














